<template>
  <view class="card-wrapper">
    <view class="card">
        <view class="item ss-flex">
          <view class="img-wrapper">
            <image
              class="img"
              :src="sheep.$url.static('/assets/addons/shopro/uniapp/order/cargo.png')"
            ></image>
            <view class="tag">市场</view>
          </view>

          <view class="content ss-flex ss-row-between">
            <view class="left">
              <view class="title">nono 申猴</view>
              <view class="code">
                <view class="label">编号</view>
                <view class="num">23423/345234</view>
              </view>
              <view class="price">￥345.00</view>
            </view>
            <view class="right ss-flex-col ss-col-center ss-row-center">
              <image
                class="logo "
                :src="sheep.$url.static('/assets/addons/shopro/uniapp/order/cargo.png')"
              ></image>
              <text>九玄数字官方</text>
            </view>
          </view>
        </view>
    </view>
  </view>

</template>

<script setup>

  import sheep from '@/sheep';
</script>


<style scoped lang="scss">
  .card-wrapper{
    padding:0 30rpx;
    margin-bottom: 22rpx;
    .card{
      background-color: #1e1e1e;
      border-radius: 20rpx;
    }
  }
  .item {
    color: #fff;
    padding: 30rpx;

    .img-wrapper {
      position: relative;

      .img {
        border-radius: 20rpx;
        width: 150rpx;
        height: 150rpx;
      }

      .tag {
        position: absolute;
        left: 10rpx;
        top: 10rpx;
        font-size: 20rpx;
        padding: 5rpx 10rpx;
        background: linear-gradient(90deg, #477DFE, #7AB4FF);
        border-radius: 10rpx;
        text-align: center;
        color: #FFFFFF;
      }
    }

    .content {
      flex: 1;
      height: 150rpx;
      margin-left: 30rpx;

      .title {
        font-size: 32rpx;
        color: #E4E4E4;
      }

      .left {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .code {
        font-size: 20rpx;
        display: flex;
        background: #393939;
        border-radius: 4rpx;
        text-align: center;
        line-height: 36rpx;
        .label{
          width: 60rpx;
          height: 36rpx;
          background: linear-gradient(90deg, #45C9F0, #36F6AF);
          border-radius: 4rpx 0rpx 0rpx 4rpx;
          text-align: center;
          color: #000;
        }
        .num{
          padding:0 10rpx;
        }
      }

      .price {
        font-size: 32rpx;
        color: #00A1FF;
      }

      .right {
        font-size: 22rpx;
        color: #EEEEEE;

        .logo {
          width: 52rpx;
          height: 52rpx;
          margin-bottom: 20rpx;
        }
      }
    }
  }
</style>
